testoverlaystyleclass: Fix CSS snippet
authorTimm Bäder <mail@baedert.org>
Mon, 27 Aug 2018 16:13:01 +0000 (18:13 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 27 Aug 2018 16:13:01 +0000 (18:13 +0200)
tests/testoverlaystyleclass.c

index 86437ee020ebe2e7a6c101950eed9710d7c69b70..37a857d2653224c6b7abf92b87d2a1f6c9dcd56d 100644 (file)
@@ -50,8 +50,8 @@ main (int argc, char *argv[])
 
   provider = gtk_css_provider_new ();
   gtk_css_provider_load_from_data (provider,
-                                   "GtkLabel { border: 3px solid black; border-radius: 5px; padding: 2px; }"
-                                   ".top { border-top-style: none; right-radius: 0px; border-top-left-radius: 0px; }"
+                                   "label { border: 3px solid black; border-radius: 5px; padding: 2px; }"
+                                   ".top { border-top-style: none; border-top-right-radius: 0px; border-top-left-radius: 0px; }"
                                    ".bottom { border-bottom-style: none; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px; }"
                                    ".left { border-left-style: none; border-top-left-radius: 0px; border-bottom-left-radius: 0px; }"
                                    ".right { border-right-style: none; border-top-right-radius: 0px; border-bottom-right-radius: 0px; }",